#include <iostream>
#include <string>
#include <fstream>
using namespace std;

int CountOccurenceOf(string filename, string keyword)
{
	ifstream InFile(filename.c_str());
	string x = "";
	int count = 0;
	while (!InFile.eof())
	{
		InFile >> x;
		if (x == keyword)
			count++;
	}
	return count;
}